package com.test.pattern.builder.demo1;

/**
 * @ClassName: MobikeBuilder
 * @description: 具体的构建者，用来构建膜拜单车对象
 * @author: Mr du
 * @create: 2024-02-17 18:22
 */
public class MobikeBuilder extends Builder{

    @Override
    public void buildFrame() {
        bike.setFrame("铝合金车架");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("真皮车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
